package com.ruoyi.zsyh.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品二维码申请记录对象 zsyh_parts_qrcode_history
 * 
 * @author yuexl
 * @date 2022-01-09
 */
public class ZsyhPartsQrcodeHistory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 配件二维码生成历史 */
    private String id;

    /** 配件id */
    @Excel(name = "配件id")
    private String partsId;

    /** 属性id */
    @Excel(name = "属性id")
    private String attributeId;

    /** 开始编码 */
    @Excel(name = "开始编码")
    private Long startCode;

    /** 结束编码 */
    @Excel(name = "结束编码")
    private Long endCode;

    /** 生成数量 */
    @Excel(name = "生成数量")
    private Long applyNum;

    /** 二维码编码前半部分 */
    @Excel(name = "二维码编码前半部分")
    private String qrcodeFirst;

    /** 质保补助金金额 */
    @Excel(name = "质保补助金金额")
    private BigDecimal payPrice;

    private String partsName;

    private String attributeName;

    private String factoryName;

    private String operateName;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setPartsId(String partsId) 
    {
        this.partsId = partsId;
    }

    public String getPartsId() 
    {
        return partsId;
    }
    public void setAttributeId(String attributeId) 
    {
        this.attributeId = attributeId;
    }

    public String getAttributeId() 
    {
        return attributeId;
    }
    public void setStartCode(Long startCode) 
    {
        this.startCode = startCode;
    }

    public Long getStartCode() 
    {
        return startCode;
    }
    public void setEndCode(Long endCode) 
    {
        this.endCode = endCode;
    }

    public Long getEndCode() 
    {
        return endCode;
    }
    public void setApplyNum(Long applyNum) 
    {
        this.applyNum = applyNum;
    }

    public Long getApplyNum() 
    {
        return applyNum;
    }
    public void setQrcodeFirst(String qrcodeFirst) 
    {
        this.qrcodeFirst = qrcodeFirst;
    }

    public String getQrcodeFirst() 
    {
        return qrcodeFirst;
    }
    public void setPayPrice(BigDecimal payPrice) 
    {
        this.payPrice = payPrice;
    }

    public BigDecimal getPayPrice() 
    {
        return payPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("partsId", getPartsId())
            .append("attributeId", getAttributeId())
            .append("startCode", getStartCode())
            .append("endCode", getEndCode())
            .append("applyNum", getApplyNum())
            .append("qrcodeFirst", getQrcodeFirst())
            .append("payPrice", getPayPrice())
            .append("createTime", getCreateTime())
            .toString();
    }

    public String getPartsName() {
        return partsName;
    }

    public void setPartsName(String partsName) {
        this.partsName = partsName;
    }

    public String getAttributeName() {
        return attributeName;
    }

    public void setAttributeName(String attributeName) {
        this.attributeName = attributeName;
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }

    public String getOperateName() {
        return operateName;
    }

    public void setOperateName(String operateName) {
        this.operateName = operateName;
    }
}
